package com.eyas.business.model.jdbcEntity.table;

import com.eyas.core.annotation.*;

/**
 * @Auther: 王龙龙
 * @Date: 2019/3/5 13:19
 * @Description:
 */
@Table("classinfo")
public class ClassInfo {
    @PrimaryKey(value = "classid",columnType = ColumnType.INT,columnSize = 8,IsNull = false,inrementType = IncrementType.AUTOINCREMENT)
    private Integer classid;
    @Column(column = "classname",columnType = ColumnType.STRING,IsNull = true,columnSize = 20)
    private String classname;
    @Column(column = "details",columnType = ColumnType.TEXT,IsNull = true)
    private String details;
    @Column(column = "imgcode",columnType = ColumnType.STRING,IsNull = true,columnSize = 200)
    private String imgcode;
    @Column(column = "hours",columnType = ColumnType.INT,IsNull = true)
    private Integer hours;
    @Column(column = "validflag",columnType = ColumnType.STRING,IsNull = true,columnSize = 1)
    private String validflag;

    public Integer getClassid() {
        return classid;
    }

    public void setClassid(Integer classid) {
        this.classid = classid;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public String getImgcode() {
        return imgcode;
    }

    public void setImgcode(String imgcode) {
        this.imgcode = imgcode;
    }

    public Integer getHours() {
        return hours;
    }

    public void setHours(Integer hours) {
        this.hours = hours;
    }

    public String getValidflag() {
        return validflag;
    }

    public void setValidflag(String validflag) {
        this.validflag = validflag;
    }
}
